package cn.tiansu.eway.kylinengine.model;

import java.util.List;
import java.util.Map;

/**
 * kylin本身返回的结果
 * @Title: KylinResult.java
 * @author: 吴鹏 
 * @date: 2015年8月19日
 * 
 *
 */
public class KylinResult
{
	private String duration;
	
	/**
	 * 返回结果的列说明
	 */
	private List<Map<String,String>> columnMetas;
	
	private int totalScanCount;
	
	private String hitCache;
	
	private String isException;
	
	private String affectedRowCount;
	
	private String cube;
	
	/**
	 * 返回结果
	 */
	private List<String> results;

	public String getDuration()
	{
		return duration;
	}

	public void setDuration(String duration)
	{
		this.duration = duration;
	}

	public List<Map<String, String>> getColumnMetas()
	{
		return columnMetas;
	}

	public void setColumnMetas(List<Map<String, String>> columnMetas)
	{
		this.columnMetas = columnMetas;
	}

	public int getTotalScanCount()
	{
		return totalScanCount;
	}

	public void setTotalScanCount(int totalScanCount)
	{
		this.totalScanCount = totalScanCount;
	}

	public String getHitCache()
	{
		return hitCache;
	}

	public void setHitCache(String hitCache)
	{
		this.hitCache = hitCache;
	}

	public String getIsException()
	{
		return isException;
	}

	public void setIsException(String isException)
	{
		this.isException = isException;
	}

	public String getAffectedRowCount()
	{
		return affectedRowCount;
	}

	public void setAffectedRowCount(String affectedRowCount)
	{
		this.affectedRowCount = affectedRowCount;
	}

	public String getCube()
	{
		return cube;
	}

	public void setCube(String cube)
	{
		this.cube = cube;
	}

	public List<String> getResults()
	{
		return results;
	}

	public void setResults(List<String> results)
	{
		this.results = results;
	}
}
